﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Danser_Control.Exceptions
{
    /// <summary>
    /// Exception that is thrown when the user tries to perform something he's not authorized to do
    /// </summary>
    public class DanserAuthorizationException : Exception
    {
        /// <summary>
        /// creates a DanserAuthorizationException instance
        /// </summary>
        /// <param name="message"></param>
        public DanserAuthorizationException(String message)
            : base(message) { }

        /// <summary>
        /// creates a DanserAuthorizationException instance
        /// </summary>
        /// <param name="message"></param>
        /// <param name="innerException"></param>
        public DanserAuthorizationException(String message, Exception innerException) 
            : base(message, innerException) { }
    }
}
